home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
boss_sup.arc
/
WINDOWS.FN5
< prev
next >
Wrap
Text File
|
1991-01-14
|
11KB
|
153 lines
extern void wn_windows(void );
extern int wn_activate(struct wcb *wn);
extern int wns_push(int imgix);
extern int wns_pop(int imgix);
extern int wns_alloc(unsigned int size,unsigned int *seg,unsigned int *off,unsigned int *ptr);
extern int wns_free(unsigned int seg,unsigned int off);
extern int wns_image(struct wcb *wn,int imgix,int flag);
extern void wns_blt(int row,int col,int width,int height,unsigned int tseg,unsigned int toff,int imgix,int flag);
extern unsigned int _getca(int page,int row,int col);
extern void _putca(int page,unsigned int atch,int row,int col);
extern void _absloc(int page,int row,int col);
extern void v_wca(int page,int ch,int at,int count);
extern void v_wtty(int ch);
extern void v_cls(int at);
extern void v_spage(int page);
extern void v_smode(int mode);
extern void v_locate(int page,int row,int col);
extern void v_hidec(void );
extern void v_sapu(int nl,int rul,int cul,int rlr,int clr,int at);
extern void v_sapd(int nl,int rul,int cul,int rlr,int clr,int at);
extern void v_rcpos(int page,int *row,int *col);
extern void v_rcvs(int *page,int *mode,int *cols);
extern int v_getch(void );
extern int v_getchm(void );
extern void v_kflush(void );
extern void v_sctype(int type,int sline,int eline);
extern void wn_boxset(int ul,int ur,int tb,int sd,int ll,int lr);
extern int wn_close(struct wcb *wn);
extern int wn_clr(struct wcb *wn);
extern int wn_clrrow(struct wcb *wn,int row);
extern void wn_color(struct wcb *wn,int atrib,int batrib);
extern int wn_dborder(struct wcb *wn,int ul,int ur,int tb,int sd,int ll,int lr);
extern int wn_delrow(struct wcb *wn,int row);
extern void wn_dma(int flag);
extern void wn_dmode(int flag);
extern int wn_dtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt);
extern int wn_fixcsr(struct wcb *wn);
extern int wn_frmcls(struct wi_scb * *frm);
extern int wn_frmget(struct wi_scb * *frm);
extern struct wi_scb * *wn_frmopn(int nfields);
extern int wn_gbool(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int *value,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gdate(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int *month,int *day,int *year,char *ubuff,char *hlpmsg,char *errmsg);
extern char *wn_gets(struct wcb *wn,char *s,int va,char *cl);
extern int wn_gint(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int *value,int fwidth,int low,int high,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_glong(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,long *value,int fwidth,long low,long high,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gphone(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int *acode,int *nnx,int *num,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gpword(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wns_gtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gutext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gltext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gatext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gtime(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,int *hours,int *mins,int *secs,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_guint(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,unsigned int *value,int fwidth,unsigned int low,unsigned int high,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gulong(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,unsigned long *value,int fwidth,unsigned long low,unsigned long high,char *ubuff,char *hlpmsg,char *errmsg);
static void showpage(long offset);
static int filbuf(long offset);
extern int wn_hlinit(int row,int col,int width,int height,unsigned int atrib,unsigned int batrib,char *help_file_name);
extern int wn_help(char *subject);
extern int wn_iemsg(char *msg);
extern int wn_ihmsg(char *msg);
extern int wn_psinit(int rows,int cols);
extern int wn_init(void );
extern int wn_exit(void );
extern void wn_shkey(unsigned int scan_code);
extern int wn_input(struct wcb *wn,int row,int col,char *prmpt,char *mask,char fill,unsigned int atrib,char *ubuff,char *hlpmsg);
extern int wn_insrow(struct wcb *wn,int row);
extern int wn_locate(struct wcb *wn,int row,int col);
extern void mo_die(char *msg);
extern void wns_mo_check(struct mcb *mptr,char *msg);
extern struct mcb *mo_reset(void );
extern void mo_show(struct mcb *m);
extern void mo_hide(struct mcb *m);
extern void mo_pos(struct mcb *m);
extern void mo_move(struct mcb *m,int row,int col);
extern void mo_pbinfo(struct mcb *m,int button);
extern void mo_rbinfo(struct mcb *m,int button);
extern void mo_clim(struct mcb *m,int cmin,int cmax);
extern void mo_rlim(struct mcb *m,int rmin,int rmax);
extern void mo_sgcursor(struct mcb *m,unsigned int hhot,unsigned int vhot,unsigned int seg,unsigned int off);
extern void mo_scursor(struct mcb *m,int type,int start,int stop);
extern void mo_motion(struct mcb *m);
extern void mo_task(struct mcb *m,unsigned int mask,unsigned int tseg,unsigned int toff);
extern void mo_lpon(struct mcb *m);
extern void mo_lpoff(struct mcb *m);
extern void mo_ratio(struct mcb *m,int ver,int hor);
extern void mo_rcpos(struct mcb *mptr,int *status,int *row,int *col);
extern void mo_locate(struct mcb *mptr,int row,int col);
extern void mo_press(struct mcb *mptr,int button,int *status,int *nclik,int *row,int *col);
extern void mo_release(struct mcb *mptr,int button,int *status,int *nclik,int *row,int *col);
extern void mo_reigon(struct mcb *mptr,int row,int col,int width,int height);
extern void mo_setptr(struct mcb *mptr,unsigned int tchar,unsigned int atrib);
extern void mo_wait(struct mcb *mptr);
extern int mo_nbutt(struct mcb *mptr);
extern void wns_mo_show(void );
extern void wns_mo_hide(void );
extern struct wcb *wn_move(struct wcb *wn,int row,int col);
extern int wn_natrib(struct wcb *wn,int natr);
extern struct wcb *wn_open(int page,int row,int col,int width,int height,int atrib,int batrib);
extern void wns_explode(struct wcb *wn);
extern void wns_vbar(struct wcb *wn,int rul,int cul,int rlr,int clr,int atrib);
extern unsigned long wns_gticks(void );
extern void wns_stdiv(unsigned long div);
extern int wn_popup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx,int cflag);
extern struct wcb *wn_qpopup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx);
extern int wn_printf(struct wcb *wn,char *cs,...);
extern int wn_puts(struct wcb *wn,int row,int col,char *s);
extern int wn_putsa(struct wcb *wn,int row,int col,char *s,unsigned int atrib);
extern int wn_putc(struct wcb *wn,int row,int col,char c);
extern int wn_putca(struct wcb *wn,int row,int col,char c,unsigned int a);
extern int wn_restore(struct wcb *wn);
extern struct wcb *wn_save(int page,int row,int col,int width,int height);
extern void wn_scroll(struct wcb *wn,int method);
extern int wn_spawnl(unsigned int smode,char *path,char *a1);
extern int wn_stitle(struct wcb *wn,char *title,int location);
extern int wn_stitla(struct wcb *wn,char *title,int atr,int location);
extern char *wn_sleftj(char *s);
extern char *wn_srightj(char *s);
extern char *wn_scenter(char *s,char *t,int w);
extern char *wn_sdelspc(char *s,int code);
extern int wn_strndx(char *s,char *t,int exp);
extern unsigned int wns_mtype(void );
extern void wns_delc(struct wcb *wn);
extern void wns_wtext(struct wcb *wn,char *string);
extern void wns_movscr(int srow,int scol,int w,int h,int drow,int dcol,int mode,int atrib);
extern void wns_savres(int page,int row,int col,int width,int height,char *array,int flag);
extern void wns_fixc(int *atrib);
extern void wns_drow(int page,int c,int atrib,int row,int col,int count);
extern void wns_dput(struct wcb *wn,int page,int c_atrib,int row,int col);
extern void wns_err(struct wcb *wn,char *msg);
extern void wns_ierr(char *msg);
extern void wns_sapu(int nl,int r1,int c1,int r2,int c2,int atrib);
extern void wns_sapd(int nl,int r1,int c1,int r2,int c2,int atrib);
extern void wns_von(void );
extern void wns_voff(void );
extern void wns_ssiz(int row,int col);
extern int wns_ega(int *memsize,int *mode,unsigned int *features,unsigned int *switches);
extern unsigned int wns_getca(int page,int row,int col);
extern void wns_putca(int page,unsigned int atch,int row,int col);
extern void wn_sync(struct wcb *wn,int flag);
extern int wn_title(struct wcb *wn,char *title);
extern int wn_titla(struct wcb *wn,char *title,int atr);
extern void wn_wrap(struct wcb *wn,int flag);
extern int wn_gdouble(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,double *value,int fwidth,int ndec,double low,double high,char *ubuff,char *hlpmsg,char *errmsg);
extern int wn_gfloat(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned int atrib,char fill,float *value,int fwidth,int ndec,double low,double high,char *ubuff,char *hlpmsg,char *errmsg);
void _vidblt(unsigned, unsigned, unsigned, unsigned, int);
int v_kstat(void);
void xferdata(unsigned, unsigned, unsigned, unsigned, int);
void v_border(int);